package com.young.sso.repository;

import com.young.sso.entity.UserGold;
import org.springframework.data.repository.CrudRepository;

import java.util.Optional;

/**
 * @author yang
 * @date 2022/1/10 16:57
 */
public interface UserGoldRepository extends CrudRepository<UserGold, Long> {
    /**
     *
     * @param id
     * @return
     */
    UserGold findByIdEquals(Long id);

}
